package main

import (
	"sync/atomic"
	"runtime"
	"time"
	"fmt"
)

func main() {
	var ops uint64=0

	for i:=0;i<50;i++{
		go func() {
			for{
				atomic.AddUint64(&ops,18)
				runtime.Gosched()
			}
		}()
	}

	time.Sleep(time.Second)

	opsFinal:=atomic.LoadUint64(&ops)
	fmt.Println("ops",opsFinal)
}
